package tutorial.gae;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public final class EMF {
	
	private static EntityManagerFactory emf;
	
	public static EntityManagerFactory get(){
		if(emf == null){
			emf = Persistence.createEntityManagerFactory("transaction-optional");
			
		}
		return emf;
	}

}
